﻿using System;

namespace FBGraph.ClientGenerator.CodeGen
{
    public class AutoProperty : Property
    {
        public AutoProperty(String name, TypeReference type)
            : base(name, type)
        {
            this.HasGet = true;
            this.HasSet = true;
        }        

        public AutoProperty(String name, Type type) : this(name, new TypeReference(type)) { }
    }
}